package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicNotice;
import com.zshan.clinic.database.model.ClinicNoticeExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicNoticeMapper extends SuperMapper {
    long countByExample(ClinicNoticeExample example);

    int deleteByExample(ClinicNoticeExample example);

    int deleteByPrimaryKey(Long noticeId);

    int insert(ClinicNotice row);

    int insertSelective(ClinicNotice row);

    List<ClinicNotice> selectByExample(ClinicNoticeExample example);

    ClinicNotice selectByPrimaryKey(Long noticeId);

    int updateByExampleSelective(@Param("row") ClinicNotice row, @Param("example") ClinicNoticeExample example);

    int updateByExample(@Param("row") ClinicNotice row, @Param("example") ClinicNoticeExample example);

    int updateByPrimaryKeySelective(ClinicNotice row);

    int updateByPrimaryKey(ClinicNotice row);
}